package com.neusoft.tijiancms.mapper;

import com.neusoft.tijiancms.po.Users;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UsersMapper {
    /**
     * 根据用户Id查询用户信息
     * @param users
     * @return
     */
    @Select("SELECT * FROM users WHERE userId=#{userId}")
    public Users getUserbyId(Users users);
}
